<template>
<el-carousel>
  <el-main>
    <el-form ref="form" label-width="80px">
    <el-input v-model="input" placeholder="placeholder"></el-input>
      <el-button type="primary" @click="button">按钮</el-button><spen>{{message}}</spen>
    </el-form>
  </el-main>
</el-carousel>
</template>

<script>
export default {
  name: "Home",
  data(){
    return{
       input:'',
      message:'message'
    }
  },
  methods:{
    button(){
      alert('123')
    }
  }
}
</script>

<style scoped>

</style>